package Test001;

public class Person {
    private String name;
    private   double height;
    private double weight;

    public Person() {
    }
       public Person(String name,double height,double weight){
            this.name=name;
            this.height=height;
            this.weight=weight;
       }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getHeight() {
        return height;
    }

    public void setHeight(double height) {
        this.height = height;
    }

    public double getWeight() {
        return weight;
    }

    public void setWeight(double weight) {
        this.weight = weight;
    }

    public void show(){
        System.out.println(name+"都身高是"+height+"的体重是"+weight);
    }
}
